package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
//供应商维护商品分类表
public class SupplierGoodsCategory {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//序号

    private Integer pId;//用户id(供应商id)

    private Integer sortId;//分类id

    @TableField(exist = false)
    private String name;//商品分类名
}